include(FindPackageHandleStandardArgs)
find_path(XTTO_INCLUDE_DIR 
         ver.h
         xttodefine.h
         xttoinlinefun.h
         xttotypeinit.h
         common.h
)

find_library(XTTO_LIBRARY
            NAMES 
			commonLibUtil 
			commonLibSpdLog 
			commonLibParserData 
			commonLibG3Log 
			commonLibParserData)

find_package_handle_standard_args(XTTO  DEFAULT_MSG
            XTTO_INCLUDE_DIR XTTO_LIBRARY)

mark_as_advanced(XTTO_INCLUDE_DIR XTTO_LIBRARY)
set(G3LOG_LIBRARIES ${XTTO_LIBRARY})
set(G3LOG_INCLUDE_DIRS ${XTTO_INCLUDE_DIR})
